﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using EvoSim.RandomNumberGenerators;
using EvoSim.Simulation.Genes;
using System.Collections.ObjectModel;
using TakaGUI.IO;

namespace EvoSim.Simulation.NeuralNets.RMP
{
	public class RMP_OutputNeuron : RMP_Neuron, IOutputNeuron
	{
		public RMP_OutputNeuron(RMP_Net net)
			: base(net)
		{
		}

		public override void Update()
		{
			Output = SigmoidFunction.Sigmoid(Activation - Bias);
			Output = Math.Max(0, Output);
			Activation = 0;
		}
	}
}
